package com.atguigu.gmall.publisher.service.impl;

import com.atguigu.gmall.publisher.bean.CourceSessionUser;
import com.atguigu.gmall.publisher.mapper.CourceSessionUserMapper;
import com.atguigu.gmall.publisher.service.CourceSessionUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourceSessionUserServiceImp implements CourceSessionUserService {
    @Autowired
    private CourceSessionUserMapper courceSessionUserMapper;

    @Override
    public List<CourceSessionUser> getVisitorPerHrStats(Integer date) {
        return courceSessionUserMapper.selectSessionUserPerHr(date);
    }
}
